package com.block.source.service;

import com.block.db.entity.MemberExtInfo;
import com.block.db.entity.SourceBaseInfo;
import com.block.db.entity.SourceRecordInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.block.db.entity.SourceTaskInfo;
import com.block.test.reqbean.source.CheckUserInfo;
import com.block.test.reqbean.source.ImportData;

/**
 * <p>
 * 数据来源记录 服务类
 * </p>
 *
 * @author 
 * @since 2023-05-22
 */
public interface ISourceRecordInfoService extends IService<SourceRecordInfo> {

    SourceRecordInfo recordDataInfo(SourceTaskInfo taskInfo, CheckUserInfo checkUserInfo);

    MemberExtInfo getExtInfoByRecordInfo(SourceRecordInfo recordInfo);

    boolean updateRecordInfo(SourceRecordInfo recordInfo, ImportData importData);

    MemberExtInfo saveNewMemExtInfo(SourceBaseInfo sourceBaseInfo, Long recordId);

}
